#include"Heap.h"
int main(void) {

	HP heap1;
	HP* heap=&heap1;
	heapInit(heap);
	heapPush(heap, 2);
	heapPush(heap, 1);
	heapPush(heap, 9);
	heapPush(heap, 5);
	heapPush(heap, 7);
	heapPush(heap, 8);
	heapPush(heap, 4);
	heapPush(heap, 12);

	HeapPrint(heap);

	HeapPop(heap);
	HeapPrint(heap);
	HeapPop(heap);
	HeapPrint(heap);
	HeapPop(heap);
	HeapPrint(heap);
	HeapPop(heap);
	HeapPrint(heap);

	return 0;
}